package com.ExcelServer.client;

import com.ExcelServer.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

//添加调用教师信息接口
@FeignClient(value = "TeacherInfoServer",path = "/s1/teacher")
public interface TeacherInfoClient {
    @GetMapping(value = "/getName")
    Result<String> getName(@RequestParam String teacherId);

}
